package homebuh.controller
{	
	import homebuh.model.LoginProxy;
	import homebuh.model.vo.LoginVO;
	import org.puremvc.as3.interfaces.INotification;
	import org.puremvc.as3.patterns.command.SimpleCommand;

	public class LoginCommand extends SimpleCommand
	{
		override public function execute(note: INotification) :void	
		{
			var loginVO: LoginVO = note.getBody() as LoginVO;
			var loginProxy: LoginProxy = facade.retrieveProxy(LoginProxy.NAME) as LoginProxy;
			loginProxy.getUser(loginVO);
		}		
	}
}